EMT Practice Test

1. Question Content...


Question List

Question1: When you use the Recommit Files operation on a user story and flag the Re-Create Feature Branch checkbox, what happens to the status of previous commit records on the same user story?

Question2: While working in Dev1 Debbie has committed a new custom field "Amount" and a validation rule
"Mandatory Amount" in the same user story. Later, during the sprint, the business analyst decided that the validation rule should not be included in this sprint but rather moved to the next sprint.
Nonetheless, the custom field must remain and be delivered in the current sprint. How can Debbie accomplish this?

Question3: Rob is deploying an important release from uat to production and would like to temporarily freeze some users to ensure they don't make any changes during the release window that could have a negative impact on the release. What would be the easiest way to do this?

Question4: Dave has been assigned the task of deleting a custom object that has not been used in production for a long time. After committing the destructive changes, he notices that no feature branch has been created. What could be the reason?

Question5: Rob wants to deploy a data template to production and wants to disable active validation rules in production to make sure the template is successfully migrated. To this end, he creates a Manual Task deployment step. and then adds a Data Template deployment step. What would be the deployment process in this case?

Question6: Dave comitted a new method on the AccountOperations class but, after deploying his changes from DEV to INT, he found his changes were not there due to an auto-resolved Git conflict he was not aware of. What could he have done to prevent this from happening just in this particular promotion?

Question7: Which IS TRUE about Static Code Analysis using Code Scan?

Question8: You want to give an existing PMD rule the lowest priority. How can you do this?

Question9: You have created two different Account page layouts in Dev1, one for sales reps and and another one for the support team. You have committed the two page layouts on a user story and you are ready to deploy them to the next environment. However, the sales manager makes a last-minute decision for his team to continue using the standard Account page layout for now. What is the easiest way to prevent the sales reps layout from being deployed while deploying the support team layout?

Question10: The PMD rule Avoid SOQL queries inside loops should have the highest priority when running a static code analysis scan. How you can set this?

Question11: You would like to receive an alert whenever the static code analysis score of a user story is above 15. How you can achieve this?

Question12: Which is TRUE about Static Code Analysis using CodeScan?

Question13: You have committed a custom field, but when you look at the feature branch, you don't see any updates. What do you need to check in order to troubleshoot the issue?

Question14: Debbie is attempting to deploy a profile from a sandbox on the latest Salesforce Preview Instance to production on the latest Salesforce GA version. She is receiving errors due to new user permissions which have been introduced in the Preview Instance that do not exist in the GA version of Salesforce. How can Debbie move her deployment forward?

Question15: Your company has multiple developers working in separate environments and sometimes your Apex classes get overwritten. What can you do to prevent this?

Question16: Which is TRUE about Static Code Analysis using CodeScan?

Question17: You have work in progress in dev1. After retrieving from the org and pushing a hotfix for your Admin profile from the Copado CLI, the validation deployment is failing. Why?

Question18: A developer has deployed a user story from a Dev sandbox that contains an old version of the code. While deploying, the auto-resolution engine has overwritten the most up-to-date version of the code in UAT. How can you prevent this from happening again in the future?

Question19: When attempting to deploy a profile from a sandbox in the latest Salesforce Preview Instance to production in the latest Salesforce GA version, Debbie is receiving errors due to new user permissions introduced in the Preview Instance that do not exist in the GA version of Salesforce.
What can she do to move her changes forward?

Question20: Rob would like to run Apex tests for all Apex metadata coming into the UAT environment and a compliance check for profiles and permission sets coming into the same environment. How can he accomplish this?

Question21: Your company has had many issues with governor limits in the past, so you have been requested to give the highest relevance to the PMD rule Avoid making DML operations in Apex Class. How can you do this?

Question22: You would like to create a YAML file to remove all references to Field Level Security from managed fields in profiles. Which value should you use in the replace_values parameter?

Question23: Which of the following examples could potentially create a Git conflict?

Question24: Debbie has created a new custom field in Dev1. She commits it on a user story together with the permission set to deploy FLS. After committing the changes, she realizes she forgot to grant the permission set access to the field in Dev1, so she goes back to Dev1 and updates the FLS. What is the easiest way to ensure the FLS is deployed to the next environment together with the field?

Question25: After passing Apex tests on a user story and deploying an Apex hotfix user story from dev to uat, other tests are failing in the validation deployment in production. How is this possible if the deployment didn't fail before? Select all that apply!

Question26: Debbie and Dave were modifying the same Apex class on their individual sandboxes, Debbie deployed first without any issue, but when Dave tried to deploy, a Git conflict arose, so they teamed up and resolved it manually with Copado's online conflict resolution feature. What happens when both user stories are moved to the next environment?

Question27: When working with data templates, how can you avoid getting validation rule errors when deploying your templates to the next environment?

Question28: How can you link the Copado CLI with the org where Copado is installed? Select all that apply!